home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 5 / CD-ROM Today - The Disc (Issue 5)(November 1994).ISO / mac / DHA demo / Don Norman Folder / The Library / The Library.rsrc / CSTR_24181_FillgHCLangCSTR < prev    next >
Text File  |  1994-09-21  |  527b  |  13 lines

  1. global gHCLang
  2. get GetRegionCode(the long name of hypercard)
  3. if it is not a number then get 0
  4. if it=0 then put "English" into gHCLang
  5. else if it=1 then put "French" into gHCLang
  6. else if it=3 then put "German" into gHCLang
  7. else if it=8 then put "Spanish" into gHCLang
  8. else if it=4 then put "Italian" into gHCLang
  9. else if it=7 then put "Swedish" into gHCLang
  10. else if it=17 then put "Finnish" into gHCLang
  11. else if it=12 then put "Norwegian" into gHCLang
  12. else if it=9 then put "Danish" into gHCLang
  13. else put "English" into gHCLang